Imports System.Runtime.Serialization
Imports OpenArchive.Document.Components.Data

Namespace OpenArchive
	Namespace Formatters
		Public Interface IComponentFormatter
			''' <summary>
			''' 
			''' </summary>
			''' <returns>Returns true if responsible for the passed type and version</returns>
			''' <remarks></remarks>
            Function IsResponsible(ByVal Type As Type, ByVal Version As Version) As Boolean
			Function Deserialize(ByVal serializationStream As Global.System.IO.Stream) As ComponentData
			Sub Serialize(ByVal serializationStream As Global.System.IO.Stream, ByVal graph As ComponentData)
		End Interface
	End Namespace


End Namespace